<?php


class UserModel extends Model {
	
	
	//自动验证
	protected $_validate = array(
	
		array('email','require','邮箱不能为空'),
		array('email','email','邮箱格式错误'),
		array('confirmpwd','pwd','两次密码不一致',0,'confirm'),
		
	);
	
}


?>